<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #B-showContent{
            color: red;
            border: 1px solid red;
            background-color: antiquewhite;
            height: 20px;
            padding: 2px;
            font-size: 14px;
            line-height:20px;
            width: 300px;
            position: absolute;
            z-index: 99;
            margin-top:-28px;
            display: none;
        }
        #B-show{
            display: block;
            height: 20px;
            font-size: 14px;
            position: relative;
            margin-top: 30px;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div style="height: 50px;">
        <p id="B-showContent">塔利班领袖曼苏尔之死或引发塔利班报复袭击</p>
        <div id="B-show" onmouseover="accord()" onmouseout="mobile()">美国确认塔利班最高头目曼苏尔在美军空袭中身亡</div>
    </div>

    <script type="text/javascript">
        var showContent = document.getElementById("B-showContent");
        function accord() {
            showContent.style.display = "inline";
        }
        function mobile() {
            showContent.style.display = "none";
        }

    </script>

</body>
</html>